package pt.compflow.interfaces.event;

public class EventSubscription {
	
	public static final String SUBSCRIPTION_PROP = "http://compflow.pt/engine/hasSubscription";
	
	protected String id;
	protected String jobUri;
	protected String eventClass;
	protected String eventUri;
	protected String callbackEndpoint;

	public EventSubscription() {
	}

	public EventSubscription(String id, String jobUri, String eventClass, String eventUri) {
		super();
		this.id = id;
		this.jobUri = jobUri;
		this.eventClass = eventClass;
		this.eventUri = eventUri;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getJobUri() {
		return jobUri;
	}

	public void setJobUri(String jobUri) {
		this.jobUri = jobUri;
	}

	public String getEventClass() {
		return eventClass;
	}

	public void setEventClass(String eventClass) {
		this.eventClass = eventClass;
	}

	public String getEventUri() {
		return eventUri;
	}

	public void setEventUri(String eventUri) {
		this.eventUri = eventUri;
	}

	public String getCallbackEndpoint() {
		return callbackEndpoint;
	}

	public void setCallbackEndpoint(String callbackEndpoint) {
		this.callbackEndpoint = callbackEndpoint;
	}

}
